package cn.kent.controller.vo.response;


import java.io.File;

/**
 * @author SunChenpeng
 * @date 2021/11/23 10:43
 */
public class FileRes {
    private String fileName;
    private File path;
    private String url;

    private boolean isDir;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public boolean getIsDir() {
        return isDir;
    }

    public void setIsDir(boolean isDir) {
        this.isDir = isDir;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public File getPath() {
        return path;
    }

    public void setPath(File path) {
        this.path = path;
    }

    @Override
    public String toString() {
        return "FileRes{" +
                "fileName='" + fileName + '\'' +
                ", path=" + path +
                ", url='" + url + '\'' +
                ", isDir=" + isDir +
                '}';
    }
}
